﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace GamePlugin.Logics.Game.Actions
{
    public static class ActionData
    {
        public static readonly int OnePageCount = 10;
        public static readonly int RightPadding = 10;

        public static readonly int ScrollBarHeight = 33;

        public static readonly Point ResetPoint = new Point(100, 100);

        public static readonly int OccupationEquipItemHeight = 35;
        public static readonly int OccupationEquipItemX = 590;

        public static readonly Point OccupationPoint = new Point(630, 300);
        public static readonly int OccupationStartY = 330;

        public static readonly Point EquitPoint = new Point(630, 340);
        public static readonly int EquitStartY = 370;

        public static readonly Rectangle ItemRetangle = new Rectangle(391, 407, 226, 527);
        public static readonly Point ItemPoint = new Point(630, 380);
        public static readonly int ItemStartY = 410;

        public static readonly Point ItemRarityPoint = new Point(630, 448);
        public static readonly int ItemRarityStartY = 473;

        public static readonly Point InputItemNamePoint = new Point(644, 495);

        public static readonly Point InputBuyPricePoint = new Point(644, 529);

        public static readonly int PropertyCount = 6;
        public static readonly int PropertySelectX = 540;

        public static readonly Point[] RemovePropertyPoint = new Point[6] 
        { 
            new Point(634, 593), 
            new Point(634, 633),
            new Point(634, 673),
            new Point(634, 713),
            new Point(634, 753),
            new Point(634, 793)
        };

        public static readonly Point[] SelectPropertyPoint = new Point[6] 
        { 
            new Point(542, 593), 
            new Point(542, 633),
            new Point(542, 673),
            new Point(542, 713),
            new Point(542, 753),
            new Point(542, 793)
        };

        public static readonly Point[] SelectPropertyValuePoint = new Point[6] 
        { 
            new Point(610, 593), 
            new Point(610, 633),
            new Point(610, 673),
            new Point(610, 713),
            new Point(610, 753),
            new Point(610, 793)
        };

        public static readonly Rectangle[] SelectPropertyRectangle = new Rectangle[6] 
        {
            new Rectangle(388, 611, 270, 364), 
            new Rectangle(388, 648, 270, 364),
            new Rectangle(388, 686, 270, 364),
            new Rectangle(388, 716, 270, 364),
            new Rectangle(388, 716, 270, 364),
            new Rectangle(388, 716, 270, 364),
        };

        public static readonly Point SearchPoint = new Point(520, 840);

        public static readonly Point FinlayBuyConfirmPoint = new Point(967, 456);
        public static readonly Point ItemNotFoundTextPoint = new Point(1132, 322);
        public static readonly Point FirstItemPoint = new Point(778, 321);

        public static readonly Point NoneCharacterCheckPoint = new Point(1430, 320);

        public static readonly Point AutionPoint = new Point(1209, 877);
        public static readonly Point AutionConfirmPoint = new Point(858, 782);
        public static readonly Point AutionCancelPoint = new Point(1072, 782);
        public static readonly Point AutionTextPoint = new Point(1080, 423);
        public static readonly Point FinalAutionConfirm = new Point(967, 456);

        public static readonly Point DirectlyBuyPoint = new Point(1442, 874);
        public static readonly Point DirectlyBuyPointConfirm = new Point(849, 776);
        public static readonly Point DirectlyBuyPointCancel = new Point(1080, 776);

        public static readonly Point PageSearchPoint = new Point(680, 150);
        public static readonly Point PageRetailPoint = new Point(850, 150);
        public static readonly Point PageAuctionPoint = new Point(1080, 150);
        public static readonly Point PageFinishedPoint = new Point(1280, 150);
    }
}
